package com.jelly.service;

import java.util.List;

import com.jelly.entity.MarkerPosition;
import com.jelly.query.CircleCenterQuery;
import com.jelly.query.ShareForm;
import com.jelly.vo.MarkersPosVo;



public interface MarkerPositionService {
	
	List<MarkersPosVo> finAll();
	
	/**
	 * 添加标记点
	 * @param marker
	 */
	void addMarkerPosition(MarkerPosition marker);
	
	/**
	 * 查找方圆数千米内的标点
	 * @param query
	 * @return
	 */
	List<MarkersPosVo> findMarkersByCircle(CircleCenterQuery query);
	/**
	 * 通过id删除标记点
	 * @param id
	 */
	void deleteMarkersPosition(Long id);
	
	MarkerPosition findById(Long markerId);
	
	List<MarkersPosVo> findByUserId(Long userId);
	
	void sharePoint(ShareForm form);
	
	void updatePoint(MarkerPosition position);
	
	void deletePoint(Long id);
	
	List<MarkerPosition> findPointByUserId(Long userId);
}
